From 6a3bd1c4d1c3bf9f21ab2cceee4b5d964ad7b674 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 24 Nov 2020 17:35:46 +0100 Subject: [PATCH] window: default_icon_name can be null --- gtk/gtkwindow.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 2b3a7ca741..996e09c64b 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -3283,12 +3283,13 @@ gtk_window_set_default_icon_name (const char *name) * gtk_window_get_default_icon_name: * * Returns the fallback icon name for windows that has been set - * with gtk_window_set_default_icon_name(). The returned - * string is owned by GTK and should not be modified. It - * is only valid until the next call to - * gtk_window_set_default_icon_name(). + * with gtk_window_set_default_icon_name(), or %NULL if that function + * has not been called. * - * Returns: the fallback icon name for windows + * The returned string is owned by GTK and should not be modified. + * It is only valid until the next call to gtk_window_set_default_icon_name(). + * + * Returns: (nullable): the fallback icon name for windows */ const char * gtk_window_get_default_icon_name (void) -- 2.30.2